Fix css parser integer test
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:52:06 +0000 (14:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:52:06 +0000 (14:52 -0500)
Use margin-top instead of a made-up property.

testsuite/css/parser/integer.css
testsuite/css/parser/integer.errors
testsuite/css/parser/integer.ref.css

index 79f29847dd044b67c676a173aa7f3afe459fb1e7..4fb23191f94130c678edd3317211ec0ba408c0a7 100644 (file)
@@ -1,42 +1,42 @@
 a {
-  int-property: 0;
+  margin-top: 0;
 }
 b {
-  int-property: 1;
+  margin-top: 1;
 }
 c {
-  int-property: -1;
+  margin-top: -1;
 }
 d {
-  int-property: 2147483647;
+  margin-top: 2147483647;
 }
 e {
-  int-property: -2147483648;
+  margin-top: -2147483648;
 }
 f {
-  int-property: 1.0;
+  margin-top: 1.0;
 }
 g {
-  int-property: 3px;
+  margin-top: 3px;
 }
 h {
-  int-property: 0xFF;
+  margin-top: 0xFF;
 }
 i {
-  int-property: 0377;
+  margin-top: 0377;
 }
 j {
-  int-property: nonumber;
+  margin-top: nonumber;
 }
 k {
-  int-property: "42";
+  margin-top: "42";
 }
 l {
-  int-property: +3;
+  margin-top: +3;
 }
 m {
-  int-property: --5;
+  margin-top: --5;
 }
 n {
-  int-property: - 10;
+  margin-top: - 10;
 }
index 8cd70449c410c41fb411d0bed8c0866cd10698cf..2d1d7f6c2cd7d8c4841778afab15c125befe3fcc 100644 (file)
@@ -1,8 +1,12 @@
-integer.css:17: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
-integer.css:20: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
-integer.css:23: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+integer.css:5: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+integer.css:8: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+integer.css:11: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+integer.css:14: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+integer.css:17: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+integer.css:23: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+integer.css:26: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
 integer.css:29: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
 integer.css:32: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
-integer.css:35: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+integer.css:35: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
 integer.css:38: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
 integer.css:41: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
index a2018e10c061b3067f26c7e76197c018b1b4f70f..7b445f92d33a2c29bc23e14175a4685fab5799e1 100644 (file)
@@ -1,23 +1,39 @@
 a {
-  int-property: 0;
+  margin-top: 0;
 }
 
 b {
-  int-property: 1;
+  margin-top: 1px;
 }
 
 c {
-  int-property: -1;
+  margin-top: -1px;
 }
 
 d {
-  int-property: 2147483647;
+  margin-top: 2147483647px;
 }
 
 e {
-  int-property: -2147483648;
+  margin-top: -2147483648px;
+}
+
+f {
+  margin-top: 1px;
+}
+
+g {
+  margin-top: 3px;
+}
+
+h {
+  margin-top: 255px;
 }
 
 i {
-  int-property: 377;
+  margin-top: 377px;
+}
+
+l {
+  margin-top: 3px;
 }